package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.entity.*;
import com.ruoyi.common.core.page.CommonQuery;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author linxz
 * @since 2025-01-02
 */
public interface IHomeBannerService extends IService<HomeBanner> {
        List<HomeBanner> getList(CommonQuery commonQuery);
        int addEntity(HomeBanner homeBanner);
        int updateEntity(HomeBanner homeBanner);
        int delete(CommonDelete commonDelete);

        List<BannerEntity> getBannerTree();

        List<HomeBanner> getListBySection(QueryBanner queryBanner);

        List<String> getBannerSectionList();
        List<Integer> getBannerIdList(QueryBanner query);

        HomeBanner getBannerById(int id);

        List<HomeBanner> listByPc(CommonQuery commonQuery);


}
